/**
 * JAVACC DEMO 1.0
 * @copy right apache company All rights reserved. 
 * @Package com.apache.api.vo  
 */
package com.apache.api.vo;

/**
 * description:  日志信息模型类
 * @author Hou Dayu 创建时间：2016-8-6
 * @Copyright(c)2014:
 */
public class LoggerVo {

	private String sysId;//系统ID
	private String sysDomain;//系统区域
	private String sysEname;//系统名称
	private String unitId;//模块ID
	private String unitEname;//模块代号
	private String unitCname;//模块中文名称
	private Long logType;
	private Long logLevel;
	private Long logDoType;
	private Long logTimeLong;//创建时间
	private String logTimeStr;//创建时间
	private String logOperator;
	private String logIp;//访问IP
	private String logTitle;//日志标题
	private String logObj;//操作对象
	private String logSummary;//日志描述
	private Long logResult;//日起结果
	private String logLocation;
	private String logObjOld;//操作前数据内容
	private String logObjNew;//操作后数据内容
	private String userId;//用户ID
	private String userEname;//账号名称
	private String userCname;//中文名称
	private String spaceEname;//空间

	private Long checkFlag;
	private String checkUser;
	private String checkResume;
	private String checkTime;

	public LoggerVo() {
	}

	public LoggerVo(String sysEname, String unitEname, String unitCname, String logTitle, String logObj,
			String logSummary, String logObjOld, String logObjNew, String spaceEname) {
		super();
		this.sysEname = sysEname;
		this.unitEname = unitEname;
		this.unitCname = unitCname;
		this.logTitle = logTitle;
		this.logObj = logObj;
		this.logSummary = logSummary;
		this.logObjOld = logObjOld;
		this.logObjNew = logObjNew;
		this.spaceEname = spaceEname;
	}

	public LoggerVo(String sysId, String unitId, String logTimeStr, String logIp, String logTitle, String logObj,
			String userId, String userEname, String userCname, String unitEname, String unitCname, String sysEname,
			String spaceEname) {
		super();
		this.sysId = sysId;
		this.unitId = unitId;
		this.logTimeStr = logTimeStr;
		this.logIp = logIp;
		this.logTitle = logTitle;
		this.logObj = logObj;
		this.userId = userId;
		this.userEname = userEname;
		this.userCname = userCname;
		this.unitEname = unitEname;
		this.unitCname = unitCname;
		this.sysEname = sysEname;
		this.spaceEname = spaceEname;
	}

	public String getSysId() {
		return sysId;
	}

	public void setSysId(String sysId) {
		this.sysId = sysId;
	}

	public String getSysDomain() {
		return sysDomain;
	}

	public void setSysDomain(String sysDomain) {
		this.sysDomain = sysDomain;
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	public Long getLogType() {
		return logType;
	}

	public void setLogType(Long logType) {
		this.logType = logType;
	}

	public Long getLogLevel() {
		return logLevel;
	}

	public void setLogLevel(Long logLevel) {
		this.logLevel = logLevel;
	}

	public Long getLogDoType() {
		return logDoType;
	}

	public void setLogDoType(Long logDoType) {
		this.logDoType = logDoType;
	}

	public Long getLogTimeLong() {
		return logTimeLong;
	}

	public void setLogTimeLong(Long logTimeLong) {
		this.logTimeLong = logTimeLong;
	}

	public String getLogTimeStr() {
		return logTimeStr;
	}

	public void setLogTimeStr(String logTimeStr) {
		this.logTimeStr = logTimeStr;
	}

	public String getLogOperator() {
		return logOperator;
	}

	public void setLogOperator(String logOperator) {
		this.logOperator = logOperator;
	}

	public String getLogIp() {
		return logIp;
	}

	public void setLogIp(String logIp) {
		this.logIp = logIp;
	}

	public String getLogTitle() {
		return logTitle;
	}

	public void setLogTitle(String logTitle) {
		this.logTitle = logTitle;
	}

	public String getLogObj() {
		return logObj;
	}

	public void setLogObj(String logObj) {
		this.logObj = logObj;
	}

	public String getLogSummary() {
		return logSummary;
	}

	public void setLogSummary(String logSummary) {
		this.logSummary = logSummary;
	}

	public Long getLogResult() {
		return logResult;
	}

	public void setLogResult(Long logResult) {
		this.logResult = logResult;
	}

	public String getLogLocation() {
		return logLocation;
	}

	public void setLogLocation(String logLocation) {
		this.logLocation = logLocation;
	}

	public String getLogObjOld() {
		return logObjOld;
	}

	public void setLogObjOld(String logObjOld) {
		this.logObjOld = logObjOld;
	}

	public String getLogObjNew() {
		return logObjNew;
	}

	public void setLogObjNew(String logObjNew) {
		this.logObjNew = logObjNew;
	}

	public Long getCheckFlag() {
		return checkFlag;
	}

	public void setCheckFlag(Long checkFlag) {
		this.checkFlag = checkFlag;
	}

	public String getCheckUser() {
		return checkUser;
	}

	public void setCheckUser(String checkUser) {
		this.checkUser = checkUser;
	}

	public String getCheckResume() {
		return checkResume;
	}

	public void setCheckResume(String checkResume) {
		this.checkResume = checkResume;
	}

	public String getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(String checkTime) {
		this.checkTime = checkTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserEname() {
		return userEname;
	}

	public void setUserEname(String userEname) {
		this.userEname = userEname;
	}

	public String getUserCname() {
		return userCname;
	}

	public void setUserCname(String userCname) {
		this.userCname = userCname;
	}

	public String getUnitEname() {
		return unitEname;
	}

	public void setUnitEname(String unitEname) {
		this.unitEname = unitEname;
	}

	public String getUnitCname() {
		return unitCname;
	}

	public void setUnitCname(String unitCname) {
		this.unitCname = unitCname;
	}

	public String getSysEname() {
		return sysEname;
	}

	public void setSysEname(String sysEname) {
		this.sysEname = sysEname;
	}

	public String getSpaceEname() {
		return spaceEname;
	}

	public void setSpaceEname(String spaceEname) {
		this.spaceEname = spaceEname;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("所属应用=" + this.sysEname + ";").append("所属模块标识=" + this.unitEname)
				.append("所属模块名称=" + this.unitCname + ";").append("操作对象=" + this.logObj + ";")
				.append("操作概要=" + this.logTitle + ";").append("操作IP或域名=" + this.logIp + ";")
				.append("操作人账号=" + this.userEname + ";").append("操作人姓名=" + this.userCname + ";")
				.append("操作时间=" + this.logTimeStr + ";").append("所属空间=" + this.spaceEname);
		return sb.toString();
	}
}
